package com.lagou.web.servlet;

import com.lagou.base.BaseServlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


@WebServlet(name = "TestServlet",urlPatterns = "/test")
public class TestServlet extends BaseServlet {


    // 添加课程
    public void addCourse(HttpServletRequest request,HttpServletResponse response){
        System.out.println("新建课程!");
    }
    // 根据课程名查询课程
    public void findByName(HttpServletRequest request,HttpServletResponse response){
        System.out.println("根据课程名进行查询!");
    }

    // 根据课程状态去查询课程
    public void findByStatus(HttpServletRequest request,HttpServletResponse response){
        System.out.println("根据课程状态去查询课程!");
    }
}
